package com.werdior.admin.www;

import com.werdior.common.controller.AbstractController;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class IndexController extends AbstractController {

    /**
     * 主页预览
     * @return
     */
    @RequestMapping(value = "/main")
    public String main() {
        return "page/main";
    }


    @GetMapping(value = "/login")
    public String login() {
        return "login";
    }
    /**
     * 主页预览
     * @return
     */
    @RequestMapping(value = "/index")
    public String index() {
        return "page/index";
    }


}
